package com.atguigu.api;/**
 * @author cyd
 * @date 2021/11/15 11:59
 * @version 1.0.0
 */

import org.springframework.stereotype.Component;

/**
 * @ClassName : com.atguigu.api.PaymentApiFallback
 * @Description : 类描述
 * Created by cyd on 2021-11-15 11:59:22
 */
@Component
public class PaymentApiFallback implements PaymentApi {
    @Override
    public String paymentInfo_ok(Integer id) {
        return "PaymentApiFallback---paymentInfo_ok";
    }

    @Override
    public String paymentInfo_timeOut(Integer id) {
        return "PaymentApiFallback---paymentInfo_timeOut";
    }
}
